package com.health.dao;

import com.health.pojo.OrderSetting;

import java.util.Date;
import java.util.List;

/**
 * @Classname CheckItemGroupDao
 * @Description TODO
 * @Version 1.0.0
 * @Date 2023/3/16 10:14
 * @Author RainGrd
 */
public interface OrderSettingDao {

    int insertOrderSetting(OrderSetting orderSetting);


    //根据预约日期查询预约设置信息
    OrderSetting findByOrderDate(Date orderDate);

    int updateReservationsByOrderDate(OrderSetting orderSetting);

    int updateOrderSettingByOrderDate(OrderSetting orderSetting);

    int updateNumberByOrderDate(OrderSetting orderSetting);


    long findCountByOrderDate(Date orderDate);

    //根据日期范围查询预约设置信息
    List<OrderSetting> selectOrderSettingByMonth(String date);

    List<OrderSetting> selectOrderSettings();
}
